package com.ebrothers.isns.vo;

public class Answer extends DataVo {
	private String body;
	private Question question;
	private Location triggerLocation;
	private User owner;
	private String datetime;

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public Question getQuestion() {
		if (question == null) {
			question = new Question();
		}
		return question;
	}

	public void setQuestion(Question question) {
		this.question = question;
	}

	public Location getTriggerLocation() {
		if (triggerLocation == null) {
			triggerLocation = new Location();
		}
		return triggerLocation;
	}

	public void setTriggerLocation(Location triggerLocation) {
		this.triggerLocation = triggerLocation;
	}

	public User getOwner() {
		if (owner == null) {
			owner = new User();
		}
		return owner;
	}

	public void setOwner(User owner) {
		this.owner = owner;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}

	public String getDatetime() {
		return datetime;
	}

}
